Skip to content

Adding Inference Script to produce video sample#62

Open
vinesmsuic wants to merge 7 commits into
antoinelame:masterfrom
vinesmsuic:master
Open

Adding Inference Script to produce video sample#62
vinesmsuic wants to merge 7 commits into
antoinelame:masterfrom
vinesmsuic:master

Conversation

@vinesmsuic
Copy link
Copy Markdown
Contributor

@vinesmsuic vinesmsuic commented Jul 13, 2021

  • Added a script for inference.
usage: example_video.py [-h] --vid VID [--output OUTPUT] [--dont_show]
GazeTracking Video Inference.
optional arguments:
  -h, --help       show this help message and exit
  --vid VID        path to video
  --output OUTPUT  inference video name. Only support .avi extension due to
                   OpenCV 3.4
  --dont_show      hide imshow window
  • Also did a minor change in example.py to prevent distorted screen when the webcam is not available
ret, frame = webcam.read()

# Quit the program if no webcam is found
if ret == False:
    break
  • Added documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant